//
//  AclockAppFramework.swift
//  WFCommunity
//
//  Created by 白翊 on 2020/10/21.
//  Copyright © 2020 白翊. All rights reserved.
//

import UIKit

let KDateFormatYMD = "yyyy-MM-dd"
let KDateFormatYMDHM = "yyyy-MM-dd HH:mm"
let KDateFormatYMDHMS = "yyyy-MM-dd HH:mm:ss"

let IOS_VERSION = Float(UIDevice.current.systemName)

// 定义屏幕宽高
let WIDTH = UIScreen.main.bounds.size.width
let HEIGHT = UIScreen.main.bounds.size.height

let interval: CGFloat = 16

// 状态栏高度
let STATUEBAR_HEIGHT: CGFloat = {
    if #available(iOS 13.0, *) {
        return UIApplication.shared.windows.first!.windowScene!.statusBarManager!.statusBarFrame.size.height
    } else {
        return UIApplication.shared.statusBarFrame.height
    }
}()
// 标签栏高度
//let TABBAR_HEIGHT = STATUEBAR_HEIGHT > 20 ? 83:49
let TABBAR_HEIGHT = STATUEBAR_HEIGHT + 44
// 导航栏高度
let NAVBAR_HEIGHT = STATUEBAR_HEIGHT + 44
